#!/usr/bin/env python3

"""Recursive Funtions
"""

def tell_story(n_repeats=10):
    print("老和尚对小和尚说：")
    if n_repeats>0:
        print("从前有座山，山里有座庙，庙里有个老和尚和一个小和尚。")
        tell_story(n_repeats=n_repeats-1)
    else:
        print("完")


def tell_story_indent(n_repeats=10, indent=0):
    print(" "*indent + "老和尚对小和尚说：")
    if n_repeats>0:
        print(" "*(indent+4) + "从前有座山，山里有座庙，庙里有个老和尚和一个小和尚。")
        tell_story_indent(n_repeats=n_repeats-1, indent=indent+4)
    else:
        print(" "*(indent+4*n_repeats) + "完")


tell_story_indent()

